<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <style>
        html, body {
            background-color: #f8f8f8;
        }
        .logo_box {
        	text-align: center;
        	padding: 37px 0 53px;
        }
        .logo_box img {
			height: 75px;
			vertical-align: middle;
        }
        .main {
        	background-color: #fff;
        }
        .main ul li .li_box {
        	height: 50px;
        	line-height: 50px;
        	padding: 0 15px;
        	display: -webkit-box;
        	display: -webkit-flex;
        	border-bottom: 1px solid #e8e8e8;
        }
        .main ul li:last-child .li_box {
        	border-bottom: none;
        }
        .main ul li .li_box .li_boxl {
        	color: #333;
        	font-size: 15px;
        }
        .main ul li .li_box .li_boxr {
        	font-size: 12px;
        	color: #999;
        	flex: 1;
        	-webkit-flex: 1;
        	box-flex: 1;
        	-webkit-box-flex: 1;
        	text-align: right;
        }
        .btn_box {
			padding: 0 15px;
			margin-top: 91px;
        }
        .btn_box .btn {
        	width: 100%;
        	height: 44px;
        	line-height: 44px;
        	text-align: center;
        	color: #fff;
        	background-color: #c7c7c7;
        	border-radius: 5px;
        	font-size: 15px;
        }
        .btn_box .btn.active {
        	background-color: #e62442;
        }
    </style>
</head>
<body>
	<div class="logo_box">
		<img src="../image/circle_bg.png">
	</div>
    <div class="main">
    	<ul>
    		<li>
    			<div class="li_box">
    				<div class="li_boxl">当前版本</div>
    				<div class="li_boxr">v<span class="now_version"></span></div>
    			</div>
    		</li>
    		<li>
    			<div class="li_box">
    				<div class="li_boxl">最新版本</div>
    				<div class="li_boxr">v<span class="new_version"></span></div>
    			</div>
    		</li>
    	</ul>
    </div>
    <div class="btn_box">
	    <div class="btn active">前往更新</div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript">

    apiready = function(){
        var version = api.version;
        $(".now_version").html(version);
        $(".new_version").html(version);
    };






</script>
</html>